 

package com.zdkj.subway.st.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zdkj.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 公务票生产
 *
 * @author chenbo
 * @date 2020-06-10 10:21:03
 */
@Data
@TableName("sw_tk_official_production")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "公务票生产")
public class SwTkOfficialProduction extends BaseEntity<SwTkOfficialProduction> {
private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    @ExcelIgnore
    @TableId
    @ApiModelProperty(value="序号")
    private Integer id;
    /**
     * 工作类别
     */
    @ExcelProperty(value = "工作类别", index = 0)
    @ApiModelProperty(value="工作类别")
    private String workType;
    /**
     * 工作类别名称
     */
    @TableField(exist = false)
    @ApiModelProperty(value="工作类别名称")
    private String workTypeName;
    /**
     * 发卡方式
     */
    @ApiModelProperty(value="发卡方式")
    private String issuingMethod;

    /**
     * 票卡名称
     */
    @ExcelProperty(value = "票卡名称", index = 1)
    @ApiModelProperty(value="票卡名称")
    private String ticketName;

    /**
     * 票卡类别
     */
    @ExcelProperty(value = "票卡类别", index = 2)
    @ApiModelProperty(value="票卡类别")
    private String ticketType;
    /**
     * 次数
     */
    @ExcelProperty(value = "次数", index = 3)
    @ApiModelProperty(value="次数")
    private Integer count;
    /**
     * 单价
     */
    @ExcelProperty(value = "单价", index = 4)
    @ApiModelProperty(value="单价")
    private String money;
    /**
     * 有效期
     */
    @ExcelProperty(value = "有效期", index = 5)
    @ApiModelProperty(value="有效期")
    private String validityTime;
    /**
     * 张数
     */
    @ExcelProperty(value = "张数", index = 6)
    @ApiModelProperty(value="张数")
    private Integer ticketNum;
    /**
     * 单位
     */
    @ExcelProperty(value = "单位", index = 7)
    @ApiModelProperty(value="单位")
    private String ticketUnit;
    /**
     * 最晚启用
     */
    //@ExcelProperty(value = "最晚启用", index = 8)
    @ApiModelProperty(value="最晚启用")
    private LocalDateTime lastStartTime;
    /**
     * 申请类别
     */
    @ExcelProperty(value = "申请类别", index = 8)
    @ApiModelProperty(value="申请类别")
    private String applyType;

    /**
     * 申请类别名称
     */
    @ApiModelProperty(value="申请类别名称")
    @TableField(exist = false)
    private String applyTypeName;
    /**
     * 申请时间
     */
    @ExcelProperty(value = "申请时间", index = 9)
    @ApiModelProperty(value="申请时间")
    private LocalDateTime applyTime;
    /**
     * 申请原因
     */
    @ExcelProperty(value = "申请原因", index = 10)
    @ApiModelProperty(value="申请原因")
    private String applyCase;
    /**
     * 审批状态
     */
    @ExcelProperty(value = "审批状态", index = 11)
    @ApiModelProperty(value="审批状态")
    private String applyStatus;

    /**
     * 审批状态名称
     */
    @ApiModelProperty(value="审批状态名称")
    @TableField(exist = false)
    private String applyStatusName;

    /**
     * 审批时间
     */
    @ExcelProperty(value = "审批时间", index = 12)
    @ApiModelProperty(value="审批时间")
    private LocalDateTime auditTime;

    /**
     * 线路编号
     */
    @ExcelProperty(value = "线路编号")
    @ApiModelProperty(value="线路编号")
    private String lineCode;

    /**
     * 车站编号
     */
    @ExcelProperty(value = "车站编号")
    @ApiModelProperty(value="车站编号")
    private String stationCode;

    /**
     * 线路名称
     */
    @ExcelProperty(value = "线路名称")
    @TableField(exist = false)
    private String lineName;

    /**
     * 车站名称
     */
    @ExcelProperty(value = "车站名称")
    @TableField(exist = false)
    private String stationName;
    }
